package com.hlkj.pay.app.merchant.ext.impl.helipay.dto.req;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author chenzhenlong
 * @date 2022-05-24
 */
@Data
@ToString
public class DelayedSplitReturnReq {

    @Getter
    @Setter
    @ToString
    public static class RefundDetailRule {

        private BigDecimal refundAmount;

        private String merchantNo;

    }

    /**
     * 商户请求流水号
     */
    private String originalOrderId;
    /**
     * 商户退款订单号
     */
    private String refundOrderId;
    /**
     * 回调地址
     */
    private String serverCallbackUrl;
    /**
     * 退款规则串
     */
    private List<RefundDetailRule> ruleJson;
}
